@layout("/common/_form.html",{js:["/assets/goods/goods_edit.js"]}){

<form class="layui-form" id="goodsForm" lay-filter="goodsForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商品名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsName" name="goodsName" placeholder="请输入商品名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商品价格<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsPrice" name="goodsPrice" placeholder="请输入商品价格" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">销量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsSaleNum" name="goodsSaleNum" placeholder="请输入销量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商铺名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="shopName" name="shopName" placeholder="请输入商铺名" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商铺电话<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="shopTel" name="shopTel" placeholder="请输入商铺电话" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商铺地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="shopAddr" name="shopAddr" placeholder="请输入商铺地址" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商品属性<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsAttribute" name="goodsAttribute" placeholder="请输入商品属性" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">封面图<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="coverImgUrl" name="coverImgUrl" placeholder="请输入封面图" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否禁用<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="disFlag" name="disFlag" placeholder="请输入是否禁用" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否推荐到首页Y N<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="indexFlag" name="indexFlag" placeholder="请输入是否推荐到首页Y N" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">首页轮播图<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsIndexImgUrl" name="goodsIndexImgUrl" placeholder="请输入首页轮播图" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">商品轮播图<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="goodsBannerImgUrl" name="goodsBannerImgUrl" placeholder="请输入商品轮播图" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">创建人<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createUser" name="createUser" placeholder="请输入创建人" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">更新人<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="updateUser" name="updateUser" placeholder="请输入更新人" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}